package com.xlf.service.base.pojo.vo;

import com.xlf.common.core.pojo.vo.UserVO;
import com.xlf.pojo.dto.ContestRecordDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * @Author: Himit_ZH
 * @Date: 2021/1/18 18:16
 * @Description:
 */

@Data
@Accessors(chain = true)
public class OIContestRankVO {

    @ApiModelProperty(value = "排行")
    private Integer rank;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @ApiModelProperty(value = "用户信息")
    private UserVO userInfo;

    @ApiModelProperty(value = "是否得奖")
    private Boolean isWinAward;

    @ApiModelProperty(value = "排名奖项名称")
    private String awardName;

    @ApiModelProperty(value = "排名背景颜色")
    private String awardBackground;

    @ApiModelProperty(value = "排名文本颜色")
    private String awardColor;

    @ApiModelProperty(value = "提交总得分")
    private Integer totalScore;

    @ApiModelProperty(value = "总分")
    private Integer ioScore;

    @ApiModelProperty(value = "提交总耗时，只有满分的提交才会统计")
    private Integer totalTime;

    @ApiModelProperty(value = "OI的题对应提交得分")
    private Map<String, ContestRecordDTO> submissionInfo;

}
